Skip to main content

Interface: Segmenter

Hierarchy

Properties

height

height: number

Processing height size

Inherited from

ProcessingSize.height


model

model: "mediapipeSelfie"


status

status: ProcessStatus

Inherited from

Process.status


width

width: number

Processing Width size

Inherited from

ProcessingSize.width

Methods

close

close(): void

Returns

void

Inherited from

Process.close


destroy

destroy(): Promise<void>

Returns

Promise<void>

Inherited from

Process.destroy


open

open(): Promise<void>

Returns

Promise<void>

Inherited from

Process.open


process

process(input): Promise<Segmentation[]>

Parameters

NameType
inputProcessInputType

Returns

Promise<Segmentation[]>